# coding=utf-8

# 贪婪和非贪婪匹配
# 抓取标签中图片地址

import re

str = r'<img data-original="https://rpic.douyucdn.cn/appCovers/2016/11/13/1213973_201611131917_small.png" src="https://rpic.douyucdn.cn/appCovers/2016/11/13/1213973_201611131917_small.jpg" style="display: inline;">'

re_search = re.search(r"https://.*?\.(jpg|jpeg|png)", str)
print(re_search.group())
